perm filename EMLM.MSG[E,ALS] blob
sn#118996 filedate 1974-09-08 generic text, type T, neo UTF8
∂07-SEP-74 1552 1,MLM
There are two editor facilities which I consider the absence of to be
absolutely disgusting:
1. Facility for changing between two files, keeping track of
location in each, somethiong like in TV but much faster.
2. MACRO FACILITY!!! This certainly ought to be quite general
but should be at least able to handle search-and-change operations.
A display editor developed at Yale implements macro facility in the
following way [I am changing Yale commands to projected Stanford E
commands]:
There is a command buffer, which stores a set of editor commands;
entries may be made in two ways: (1) direct entry of the ASCII characters
(something on the order of the way monitor commands may be buffered in a
DO file), and the of course more useful way (2) by "opening" the buffer
(with a <control R> (for "repeat", perhaps, or an EXTEND MODE command)
performing a series of commands, typeins, etc. so that you see what their
results are, "closing" the command buffer (<control><meta>R). Following that,
the execution of an EXTENDED MODE command DO, say, would perform the series
of operations contained in the command buffer. An argument N to this command
would repeat the series N times, of course.
The command buffer would probably either be internal to the editor
or something like a TMPCOR or some other accessible kind of file (like
a monitor DO command file).